<?php
class PersonAcc extends Zend_Db_Table {
	protected $_name = 'person_acc';
	protected $_primary = array("acc_key","person_id");
	
	protected $_referenceMap = array(
        'Person' => array(
            'columns'           => 'person_id',
            'refTableClass'     => 'Persons',
            'refColumns'        => 'person_id'
            )
            
        ,'Account' => array(
            'columns'           => 'acc_key',
            'refTableClass'     => 'Accounts',
            'refColumns'        => 'acc_key'
        )
        
	);

}

